package com.lyx.bookmanager.mapper;

import com.lyx.bookmanager.pojo.GxUserBookPay;
import com.lyx.bookmanager.pojo.GxUserBookPayExample;
import com.lyx.bookmanager.pojo.GxUserBookPayKey;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface GxUserBookPayMapper {
    long countByExample(GxUserBookPayExample example);

    int deleteByExample(GxUserBookPayExample example);

    int deleteByPrimaryKey(GxUserBookPayKey key);

    int insert(GxUserBookPay record);

    int insertSelective(GxUserBookPay record);

    List<GxUserBookPay> selectByExample(GxUserBookPayExample example);

    GxUserBookPay selectByPrimaryKey(GxUserBookPayKey key);

    int updateByExampleSelective(@Param("record") GxUserBookPay record, @Param("example") GxUserBookPayExample example);

    int updateByExample(@Param("record") GxUserBookPay record, @Param("example") GxUserBookPayExample example);

    int updateByPrimaryKeySelective(GxUserBookPay record);

    int updateByPrimaryKey(GxUserBookPay record);
}